package cn.iocoder.yudao.module.resource.controller.admin.tagclassify.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 标签分类新增/修改 Request VO")
@Data
public class TagClassifySaveReqVO {

    @Schema(description = "唯一自增id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13957")
    private Integer id;

    @Schema(description = "分类名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "分类名字不能为空")
    private String name;

    @Schema(description = "父标签分类id", requiredMode = Schema.RequiredMode.REQUIRED, example = "28675")
    @NotNull(message = "父标签分类id不能为空")
    private Integer parentId;

}